.PHONY:all

all:Tserverd Tclient

Tserverd:Server.cc
	g++ $^ -o $@ -std=c++11 -l pthread -l jsoncpp

Tclient:Client.cc
	g++ $^ -o $@ -std=c++11 -l jsoncpp

.PHONY:clean

clean:
	rm -f Tserverd Tclient